package pers.ljf.escloud.service.modules.app;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.ljf.escloud.common.req.DepartmentSaveReq;
import pers.ljf.escloud.common.req.EntSaveRequest;
import pers.ljf.escloud.dao.entity.app.Department;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laijinfan1
 * @since 2022-02-14
 */
public interface DepartmentService extends IService<Department> {

    void save(EntSaveRequest form);

    void updateSpace(Long userId, long sizeMB);

    void updateDeptSpace(Long deptId, long sizeMB);

    List<Department> list(Long userId, Map<String, Object> params);

    void save(DepartmentSaveReq req);

}
